<!DOCTYPE html>
<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.1</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" href="/student-ui/css/font.css">
    <link rel="stylesheet" href="/student-ui/css/xadmin.css">
    <link rel="stylesheet" href="/student-ui/rbac/css/common/myTable.css">
    <link rel="stylesheet" href="../../css/common/bottom.css">
    <script src="/student-ui/rbac/js/common/jquery-3.5.1.js"></script>
    <script src="/student-ui/lib/layui/layui.js"></script>
    <script src="/student-ui/rbac/js/common/cookie.js"></script>
    <script src="/student-ui/rbac/js/common/xadmin.js"></script>
    <script src="/student-ui/rbac/js/common/myAjax.js"></script>
    <script src="/student-ui/rbac/js/permission/permissionUpdate.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="/student-ui/rbac/js/common/html5.min.js"></script>
    <script src="/student-ui/rbac/js/common/respond.min.js"></script>
    <![endif]-->
</head>

<body>
<div class="x-body">
    <!--    <form class="layui-form">-->
    <div class="layui-form-item">
        <label for="name" class="layui-form-label">
            <span class="x-red">*</span>权限名称
        </label>
        <div class="layui-input-inline">
            <input type="text" id="name" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="value" class="layui-form-label">
            <span class="x-red">*</span>权限值
        </label>
        <div class="layui-input-inline">
            <input type="text" id="value" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="uri" class="layui-form-label">
            <span class="x-red">*</span>资源路径
        </label>
        <div class="layui-input-inline">
            <input type="text" id="uri" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="type" class="layui-form-label">
            <span class="x-red">*</span>权限类型
        </label>
        <div class="layui-input-inline">
            <input type="number" id="type"  class="layui-input" >
        </div>
        <label for="type" class="layui-form-label">
            <span class="x-red">0为目录、1为菜单、2为按钮（接口绑定）</span>
        </label>
    </div>
    <div class="layui-form-item">
        <label for="sort" class="layui-form-label">
            <span class="x-red">*</span>排序
        </label>
        <div class="layui-input-inline">
            <input type="number" id="sort"  class="layui-input" >
        </div>
    </div>
    <div class="layui-form-item">
        <label for="icon" class="layui-form-label">
            <span class="x-red">*</span>图标
        </label>
        <div class="layui-input-inline">
            <input type="file" id="icon" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label for="status" class="layui-form-label">
            <span class="x-red">*</span>状态
        </label>
        <div class="layui-input-inline">
            <input type="radio" id="status" name="status" value="1" >开启
            <input type="radio" name="status" value="0">关闭
        </div>
    </div>
    <div class="layui-form-item">
        <label  class="layui-form-label">
            <span class="x-red"></span>
        </label>
        <button class="layui-btn" lay-filter="edit" lay-submit="" onclick="save()">
            点击修改
        </button>
    </div>
    <!--    </form>-->
</div>

<script>var _hmt = _hmt || [];
(function () {
    var hm = document.createElement("script");
    hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(hm, s);
})();</script>
</body>
</html>
